home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist / dist6.3 / ViewKit_dev.idb / usr / include / Vk / VkRunOnce.h.z / VkRunOnce.h
C/C++ Source or Header  |  1996-09-20  |  647b  |  36 lines

  1. #ifndef VKRUNONCE_H
  2. #define VKRUNONCE_H
  3.  
  4. #include <Vk/VkCallbackObject.h>
  5. #include <Xm/AtomMgr.h>
  6.  
  7. class VkNameList;
  8.  
  9. class VkRunOnce : public VkCallbackObject {
  10.  
  11.   public:
  12.  
  13.     static const char*  const invokedCallback;
  14.  
  15.     VkRunOnce(VkNameList*, Boolean perhost = FALSE, const char *name = NULL, Boolean autoRaise = TRUE);
  16.     virtual ~VkRunOnce();
  17.  
  18.     int numArgs();
  19.     char *arg(int);
  20.  
  21.   protected:
  22.  
  23.      Atom        _property;
  24.      VkNameList *_args;
  25.      void handleClientMessage();
  26.  
  27.    private:
  28.  
  29.      Boolean _autoRaise;
  30.      static void handleClientMessageCallback(Widget, XtPointer, XEvent *, Boolean *);
  31.      void show();
  32. };
  33.  
  34.  
  35. #endif
  36.